﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;
using VideoCache.Server.BLL;
using VideoCache.Server.MVCWeb.Attributes;

namespace VideoCache.Server.MVCWeb.Areas.Member.Models
{
    public class LoginModel
    {
        [Required(ErrorMessage = "请输入通行证账号。")]
        [Display(Name = "通行证账号")]
        public string UserName { get; set; }

        [Required(ErrorMessage = "请输入密码")]
        [Display(Name = "密码")]
        [DataType(DataType.Password)]
        public string Password { get; set; }

        [Required]
        [Display(Name = "记住登陆状态")]
        public bool RememberStatus { get; set; }
    }
}